package com.bidevalution.dao.mapper;

import com.bidevalution.dao.entity.BeSectionReappraisalRecord;

public interface BeSectionReappraisalRecordMapper {
    int deleteByPrimaryKey(String seqId);

    int insert(BeSectionReappraisalRecord record);

    int insertSelective(BeSectionReappraisalRecord record);

    BeSectionReappraisalRecord selectByPrimaryKey(String seqId);

    int updateByPrimaryKeySelective(BeSectionReappraisalRecord record);

    int updateByPrimaryKey(BeSectionReappraisalRecord record);

    /**
     * 查询重评替补发起记录
     *
     * @param record
     * @return
     */
    BeSectionReappraisalRecord queryRecordByObject(BeSectionReappraisalRecord record);

    /**
     * 更新替补或重评发起成功状态
     *
     * @param record
     * @return
     */
    int updateRecordByObject(BeSectionReappraisalRecord record);

    /**
     * 删除重评记录
     *
     * @param record
     * @return
     */
    int deleteRecordByObject(BeSectionReappraisalRecord record);
}